package com.carbon.notice.service.impl;

import com.carbon.notice.entity.NoticeAppendix;
import com.carbon.notice.mapper.NoticeAppendixMapper;
import com.carbon.notice.service.INoticeAppendixService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 资讯公告附件表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-06-30
 */
@Service
public class NoticeAppendixServiceImpl extends ServiceImpl<NoticeAppendixMapper, NoticeAppendix> implements INoticeAppendixService {

    @Resource
    private NoticeAppendixMapper noticeAppendixMapper;

    @Override
    public List<NoticeAppendix> queryByNoticeId(Integer id) {
        return noticeAppendixMapper.queryByNoticeId(id);
    }
}
